package com.oe.rpc.core.config;

public class ProtocolConfig {

    protected int serialization;

    protected int port;

    protected int maxPackageSize=1024*1024;

    protected int attackCount=1000;



    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public int getSerialization() {
        return serialization;
    }

    public void setSerialization(int serialization) {
        this.serialization = serialization;
    }

    public int getMaxPackageSize() {
        return maxPackageSize;
    }

    public void setMaxPackageSize(int maxPackageSize) {
        this.maxPackageSize = maxPackageSize;
    }

    public int getAttackCount() {
        return attackCount;
    }

    public void setAttackCount(int attackCount) {
        this.attackCount = attackCount;
    }

}
